//
//  HTTPSecssionManger.h
//  NatureLife
//
//  Created by auiom on 16/4/20.
//  Copyright © 2016年 123. All rights reserved.
//
#import <Foundation/Foundation.h>

typedef void(^ResultBlock)(id responseObj,NSError *error);

@interface HTTPSecssionManger : NSObject

+(HTTPSecssionManger*)sharedManager;

//GET
-(void)GET:(NSString*)url params:(id)params result:(ResultBlock)block;

//POST
-(void)POST:(NSString*)url params:(id)params result:(ResultBlock)block;

@end